﻿using HCApp.Core.Common.ViewModels;
using LinnerToolkit.Core.Commands;
using LinnerToolkit.Core.Navigation;
using LinnerToolkit.Core.Services;
using System.Windows.Input;

namespace MainAppEntryPrismWpf.ViewModels
{
    public class ChuKuManagePageViewModel : ViewModelBase
    {
        public ICommand ExitCommand { get; }

        public IDialogService DialogService { get; set; }
        public ChuKuManagePageViewModel(IAppNavigationService navigationService, IDialogService dialogService) : base(navigationService)
        {
            DialogService = dialogService;
            ExitCommand = new LockDelegateCommand(async () =>
            {
                await NavigationService.NavigateAsync("Page1");

            });
        }
    }
}
